nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed black;
    margin-bottom: 10px;
}
nav ul{
    display: flex;
}
nav ul li{
    padding-right: 20px;
    list-style-type: none;
}
nav ul li a{
    color: black;
    text-decoration: none;
}
main{
    display: flex;
    flex-direction: column;
}
.section1,.section2{
    margin-bottom: 10px;
}
.section1{
    background: #ed1414;
}
.section2{
    background: #8fc607;
}
footer{
    text-align: center;
    background-color: aquamarine;
    height: 50px;
    line-height: 50px;
}